package com.chuangjiangx.member.manager.client.web.basic.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 修改会员信息参数(APP)
 */
@Getter
@Setter
@ApiModel(value = "修改会员信息参数(APP)")
public class UpdateMemberRequest {

    /**
     * 会员id
     */
    @ApiModelProperty(value = "会员id")
    @NotNull(message = "{memberId.null}")
    private Long id;

    /**
     * 会员姓名
     */
    @ApiModelProperty(value = "会员姓名")
    private String name;

    /**
     * 会员性别: 0:男，1：女
     */
    @ApiModelProperty(value = "会员性别: 0:男，1：女")
    @NotNull(message = "{sex.null}")
    private Byte sex;

    /**
     * 会员生日
     */
    @ApiModelProperty(value = "会员生日")
    private Date birthday;

    /**
     * 会员用户头像
     */
    @ApiModelProperty(value = "会员用户头像")
    private String headImgUrl;

}
